#!/bin/sh

for f in *-lock show-previous internals/* utils/pkill ; do
   #some sed don't support -i
   sed -e "s|^#!.*|#!${1:-/bin/sh}|" < $f > temp123
   chmod +x temp123
   mv temp123 $f
done
